/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.exceptions.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.exceptions.exceptions.ExceptionTest;
import za.ac.cput.exceptions.exceptions.Impl.ExceptionTestImpl;

/**
 *
 * @author given
 */

@Configurable
public class AppConfig {
    
    @Bean(name="ex")
    public ExceptionTest excTest(){
        return new ExceptionTestImpl();
    }
}
